<template>
	<view class="content" v-html="data"></view>
</template>

<script>
	export default {
		data() {
			return {
				data: ''
			};
		},
		mounted() {
			this.getData();
		},
		methods: {
			getData: function() {
				this.$api.getCustomerService({
						id: 1
					})
					.then(res => {
						console.log(res);
						this.data = res.data;
					});
			}
		}
	};
</script>

<style lang="scss">
	page{
		overflow: hidden;
		padding: 0 20rpx;
		padding-bottom: 40rpx;
	}
	.content {
		& /deep/ img {
			max-width: 100%;
		}
	}
</style>
